export default {
  methods: {
    // 导入表格的权限
    showperm(data) {
      if (!this.$store.state.user.userInfo.roles) {
        return false
      }
      // console.log(94, data)
      const bool = data.some(item => {
        return this.$store.state.user.userInfo.roles.points.includes(item)
      })
      console.log(bool)
      return bool
    }
  }
}
